package com.ruoyi.creditlife.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 医院数据对象 hospital
 * 
 * @author ddd
 * @date 2025-07-11
 */
public class Hospital extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医院序号 */
    private Long hospitalId;

    /** 医院名字 */
    @Excel(name = "医院名字")
    private String name;

    /** 医院等级 */
    @Excel(name = "医院等级")
    private String level;

    /** 医院地址 */
    @Excel(name = "医院地址")
    private String address;

    public void setHospitalId(Long hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() 
    {
        return hospitalId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hospitalId", getHospitalId())
            .append("name", getName())
            .append("level", getLevel())
            .append("address", getAddress())
            .toString();
    }
}
